<!DOCTYPE html>  
<html xmlns:th="http://www.thymeleaf.org">  
  <head>  
    <title>首页</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
  </head>  
  <body>  	
    <h1>Welcome SpringBoot Demo!</h1>
    <div style="margin-right: 2%; margin-top: -5%; float: right; width: 15%;">
    	<div>
	    	<label th:text="'当前用户:'+${session.userId}"></label>
			<a th:href="@{/logout}">退出</a>    	
    	</div>
    </div>
  </body>  
</html>  